{% extends 'layout.html' %}
{% load myfilter %}

{% block title %}
    详情页面
{% endblock %}

{% block content %}

    <div id="main">
        <article class="article article-type-post">
            <div class="article-meta">
                <hr>
<h1>
              <a class="article-date">
                <time>{{ note.create_time|date:'Y-m-d H:i:s' }}</time>
              </a>
    </h1>
                <hr>

            <a class="btn btn-success" href="/note_list/{{ note.notebook_id }}/">
                <span class="glyphicon glyphicon-plus-sign" aria-hidden="true"></span>
                返回笔记列表
            </a>
            </div>
            <div class="article-inner">
                <header class="article-header">
                    <hr>
                    <h1 itemprop="name">
                        <a class="article-title">{{ note.title }}</a>
                    </h1>
                </header>
                <div class="article-entry" itemprop="articleBody">
                    <h2 itemprop="name">
                        {{ note.content|md|safe }}
                    </h2>
                    <hr>

                </div>
            </div>
        </article>
        <div class="bdsharebuttonbox"><a href="#" class="bds_more" data-cmd="more"></a><a href="#" class="bds_qzone" data-cmd="qzone"></a><a href="#" class="bds_tsina" data-cmd="tsina"></a><a href="#" class="bds_tqq" data-cmd="tqq"></a><a href="#" class="bds_renren" data-cmd="renren"></a><a href="#" class="bds_weixin" data-cmd="weixin"></a></div>
        </div>


{% endblock %}